package com.springboot.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * Created by yangxiaodong on 2019/11/13.
 */
@Component
@Service(timeout = 5000,version = "1.0.0")//dubbo service提供服务发布
public class DubboProviderServiceImpl implements DubboProviderService {
    @Override
    public String getTest() {
        return "dubbo提供服务";
    }
}
